:host {
  ::ng-deep {
    nz-input-number {
      width: 100%;
    }
    nz-date-picker {
      width: 94.3%;
    }
  }
  i {
    cursor: pointer;
  }
}

.tip-font {
  margin-left: 16px;
  font-weight: 500;
  font-size: 12px;
}

.card-title {
  margin-bottom: 24px;
  font-weight: bold;
  font-size: 16px;
}

.align-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.swap-icon {
  padding: 24px;
  color: #7d7d7d;
  font-size: 30px;
  :hover{color: #52acff;}
}


input[type='number'] {
  -moz-appearance: textfield;
}
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.custom-style {
  ::ng-deep {
    .ant-card {
      margin-bottom: 0;
    }

    .ant-card-body {
      padding-bottom: 0;
    }

    .ant-card-bordered {
      border: 0 none;
    }

    .card-title {
      display: flex;
      align-items: center;

      >span {
        margin-left: 8px;
        font-size: 14px;

        em {
          font-style: normal;
          color: #E60012;
        }
      }

      &::before {
        content: '';
        display: inline-block;
        width: 2px;
        height: 16px;
        margin-right: 10px;
        background: #E60012;
      }
    }

    .ant-btn-dangerous {
      border-radius: 4px;
      color: #CF3834;
      border-color: rgba(207, 56, 52, 0.5);
    }

    .icon-wrap {
      display: flex;
      justify-content: center;
      height: 100%;
    }

    .swap-icon {
      background: url('/assets/images/frame.png') no-repeat 50% 50%;
      cursor: pointer;
    }

    .ant-input-affix-wrapper,
    .ant-input,
    .ant-picker,
    .ant-select-selector,
    .ant-input-number-input,
    .ant-input-number {
      border-radius: 4px ;
    }
    .ant-input-group-addon {
      border-radius: 0 4px 4px 0;
    }
    .align-center {
      .ant-btn {
        height: 40px;
        padding: 0 23px;
        font-size: 16px;
        border-radius: 3px;
      }
    }
    .ant-select-arrow {
      transform: scaleX(1.5) translateY(2px);
      color: rgb(153,153,153);
      font-size: 8px;
    }
    .ant-picker-suffix {
      color: #333;
    }
    .btn-wrap {
      margin-top: 20px;
      padding-bottom: 20px;
    }
    .ant-alert {
      padding: 6px 16px;
      border-radius: 2px;
      font-size: 14px;
    }
    .fc {
      color: #f5222d;
    }
  }
}
